package com.itheima.service.mongo;

import com.itheima.domain.mongo.RecommendUser;

import java.util.List;

public interface TanHuaService {

    //根据当前登录用户id查询推荐用户
    List<RecommendUser> findRecommendUsers(Long toUserId);

    //根据卡片id和用户id查询对象
    RecommendUser findByCarsIdAndLoginId(Long cardsId,Long userId);

    //根据卡片id和用户id删除对象
    void deleteCards(Long userId,Long cardsId);
}
